package com.xca.znb.model.imodel;

import com.xca.znb.entity.Collect;
import com.xca.znb.entity.Trends;
import com.xca.znb.entity.User;

import java.util.List;

public interface IFriends {
    List<Collect> getCollects(String user , String type);
    List<Trends> getTrends();
    List<Trends> getTrendsByUser(String user);
    Trends getTrendsById(int id) ;
    Collect getCollect(String gId , String type , String user);
    User getUserByPhone(String phone) ;
    void addCollect(String gId ,String type , String user);
}
